#include "lib/ftp.h"

int main(int argc, char *argv[])
{
	CZhyFtp *ftp = new CZhyFtp();

	ftp->Start();
	ftp->SetServerConf("192.168.2.251", 21, "admin", "admin");
	ftp->Login();
	ftp->FtpFileType(CZhyFtp::FTP_FILE_ANSC);
	ftp->FtpFileType(CZhyFtp::FTP_FILE_BINEARY);
	Sleep(5 * 1000);
	ftp->LogOut();
	ftp->Stop();
	return 0;
}